<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>css做三角形</title>
		<style type="text/css">
			div{
				border-bottom: 12px solid #FFE4C4;
				border-top: 12px solid transparent;		/*transparent背景颜色透明*/
				border-left: 12px solid transparent;
				border-right: 12px solid #FFE4C4;
				height: 0px;
				width: 0px;
			}
			a:link{
				color: #B000B0;
			}
			a:visited{
				color: black;

			}
			a:hover{
				color: red;
				text-decoration: none;
				background: #00FFFF;
			}
			a:active{
				color: #87CEEB;
			}
		</style>
	</head>
	<body>
		<div>
			
		</div>
		<a href="#">besa asd asd </a>
	</body>
</html>
